from selenium.webdriver.common.by import By
from autoTest_ecshop.base_page.base import Base

class LoginPage(Base):
    # 用户名定位器
    username_locator = (By.CSS_SELECTOR, '[class="inputBg"]')
    password_locator = (By.CSS_SELECTOR, 'tbody>tr:nth-of-type(2)>td:nth-of-type(2)>input')
    signIn_locator = (By.CSS_SELECTOR, '[class="us_Submit"]')
    promt_locator = (By.CSS_SELECTOR, '[style="font-size: 14px; font-weight:bold; color: red;"]')